import React, { Component } from 'react';

class Fn extends Component {
    constructor(props) {
        super(props);
        this.state = {
            skills: ["html", "css", "js", "vue", "react"]
        }
        // this.handleClick = this.handleClick.bind(this)
    }
    render() {
        const ListItem = this.state.skills.map(item => {
            return (
                <div key={item}>{item}</div>
            )
        })
        return (
            <div>
                <div>
                    {ListItem}
                </div>
            </div>
        );
    }
}

export default Fn;